package com.jason.cloud.engine.share.driver.project.service;

import com.jason.cloud.engine.share.driver.project.bean.ProjectBean;

import java.util.List;

public interface ProjectService {

    /**
     * 列举所有项目
     * @return
     */
    List<ProjectBean> getProjectLimitByEnterpriseId(int page, int size, String enterpriseId);

    /**
     * 计数项目
     * @return
     */
    int getProjectCountByEnterpriseId(String enterpriseId);

    /**
     * 保存项目
     * @param projectBean
     */
    void insertProject(ProjectBean projectBean);
}
